package com.extension.company.view.my.onlineorder;

import android.content.Intent;
import android.view.View;
import android.widget.TextView;

import com.extension.company.admin.R;
import com.extension.company.common.mvc.BaseTitleActivity;
import com.extension.company.view.my.RefundActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 线上订单详情
 * 待收货：申请售后
 * 待发货：申请退款
 * 待评价：申请售后
 */
public class MyOnlineOrderDetail extends BaseTitleActivity {
	@BindView(R.id.refund)
	TextView refund;

	@Override
	public int getMainLayout() {
		return R.layout.activity_my_online_order_detail;
	}

	@Override
	public void initView() {

	}

	@Override
	public void initData() {
		setTitle("订单详情");
		updateSuccessView();

	}

	@Override
	public void initListener() {

	}


	@OnClick({R.id.refund})
	public void onClick(View view) {
		switch (view.getId()) {
			case R.id.refund:
				Intent intent = new Intent(this, RefundActivity.class);
				startActivity(intent);
				break;
		}
	}
}
